<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
  </head>
  <body>
    <div id="root">
      <h2>学校名称：{{name}}</h2>
      <h2>学校地址：{{address}}</h2>
    </div>
    <script type="text/javascript">
      Vue.config.productionTip = false;
      const vm = new Vue({
        data: {
          name: "尚硅谷",
          address: "北京",
          student: {
            name: "Tom",
            age: {
              rAge: 40,
              sAge: 18,
            },
            friends: [
              {
                name: "jerry",
                age: 35,
              },
              {
                name: "tony",
                age: 36,
              },
            ],
          },
        },
      });
      vm.$mount("#root");
    </script>
  </body>
</html>
